extends ../../layout

block style
  link(rel="stylesheet", href="/stylesheets/webapi/websocket.css")
block prevScript
  //- script(src="/javascripts/comm/vconsole.min.js")
  //- script
  //-   | var vConsole = new VConsole()

block content
  include ../documentPath.pug
  div
    | 当前用户：
    span#curUsername

  div.container
    div#messageList.messageList
    div.inputbox
      textarea#message(name="message", resize="false")
      div.btns
        button#send 发送
    div#userlist.userlist
  script(src="/javascripts/webapi/websocket/websocket-01.js")